import request from '@/utils/request';
import { stringify } from 'qs';
export default {
    getGoodsDetail(payload) {
        return request({
            url: `/api/getGoodsDetail?${stringify(payload)}`,
            method: 'get'
        })
    },
    collectGoods(payload) {
        return request({
            url: `/api/collectGoods?${stringify(payload)}`,
            method: 'post'
        })
    },
};